package com.sleepsocial.web.error;

public class WebError {

    public static final String ERROR_ATTRIBUTE = "error";

    private final String       message;

    public WebError(String message) {
        super();
        this.message = message;
    }

    public WebError(Exception e) {
        this.message = e.getMessage();
    }

    public String getMessage() {
        return message;
    }

}
